package com.xb.cloud.user.service.impl;

import java.util.Date;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xb.cloud.common.client.TimeService;
import com.xb.cloud.user.model.mapper.TimeMapper;

/**
 * 
 * @ClassName: TimeServiceImpl
 * @Description:数据库时间获取服务
 * @author: 鲜备科技
 * @date: 2018年1月8日 下午2:35:26
 * 
 * @Copyright: 2018 www.xianbeitech.com Inc. All rights reserved.
 *
 */
@Service
public class TimeServiceImpl implements TimeService {

	@Resource
	private TimeMapper timeMapper;

	public Date getDate() {
		return timeMapper.getDate();
	}

}
